using Juli.Mes.Customers;
using Juli.Mes.Customers.Dtos;
using Juli.Mes.Ladles;
using Juli.Mes.Ladles.Dtos;
using Juli.Mes.Plans;
using Juli.Mes.Plans.Dtos;
using Juli.Mes.Stoves;
using Juli.Mes.Stoves.Dtos;
using Juli.Mes.Vehicles;
using Juli.Mes.Vehicles.Dtos;
using Juli.Mes.VisionData;
using Juli.Mes.VisionDemo.Dtos;
using Microsoft.Extensions.Hosting;

namespace Juli.Mes
{
    public class MesApplicationAutoMapperProfile : Profile
    {
        public MesApplicationAutoMapperProfile()
        {
            CreateMap<CustomerInputDto, Customer>();
            CreateMap<Customer, CustomerOutputDto>();

            CreateMap<StoveInputDto, Stove>();
            CreateMap<VehicleInputDto, Vehicle>();
            CreateMap<LadleInputDto, Ladle>();
            CreateMap<PlanInputDto, Plan>();

            CreateMap<SaleRecordDto, SaleRecord>();
            CreateMap<SaleRecord, SaleRecordDto>();
        }
    }
}
